﻿using System;
using System.Drawing;
using System.Xml.Serialization;

namespace DataAccessLayer
{
    [Serializable, XmlRoot("XnaContent", Namespace = "Microsoft.Xna.Framework.Content.Pipeline.Graphics")]
    public sealed class XmlSpriteFont
    {
        [XmlElement]
        public XmlFont Asset { get; set; }

        public XmlSpriteFont()
        {
            Asset = new XmlFont
                        {
                            FontName = "Times New Roman",
                            Size = 14,
                            Spacing = 0,
                            UseKerning = true,
                            Style = FontStyle.Regular.ToString()
                        };
        }
    }
}